A Theoretical Basis for Run-time Monitoring of Contracts

نویسندگان

  • Marcel Kyas
  • Cristian Prisacariu
  • Gerardo Schneider
چکیده

Electronic inter-organizational relationships are governed by contracts regulating their interaction. It is necessary to run-time monitor the contracts, as to guarantee their fulfillment as well as the enforcement of penalties in case of violations. The present work shows how to obtain a run-time monitor for contracts written in CL, a specification language that allows writing conditional obligations, permissions and prohibitions over actions. We first give a trace semantics for CL which formalizes the notion of a trace fulfills a contract. We show how to obtain, for a given contract, a linear-size alternating Büchi automaton accepting exactly the traces which fulfill the contract. This automaton is the basis for obtaining a finite state machine which acts as a run-time monitor for CL contracts.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Run-Time Monitoring of Electronic Contracts

Electronic inter-organizational relationships are governed by contracts regulating their interaction. It is necessary to run-time monitor the contracts, as to guarantee their fulfillment. The present work shows how to obtain a run-time monitor for contracts written in CL, a formal specification language which allows to write conditional obligations, permissions and prohibitions over actions. Th...

متن کامل

Explain the optimal pattern in the contracts of public private Participation construction, exploitation and transfer (BOT) Applied to Contracts Theory

In recent decade in developing countries, lack of government budget or lack of access to modern technology, persuade governments to attract private sector participation in the economy. One of the most common methods is Public-Private Partnership agreements. The real implementation of this type of partnership needs to set contracts that satisfies preferences of both parties. This research aims t...

متن کامل

Static Contract Simplification

Contracts and contract monitoring are a powerful mechanism for specifying properties and guaranteeing them at run time. However, run time monitoring of contracts imposes a significant overhead. The execution time is impacted by the insertion of contract checks as well as by the introduction of proxy objects that perform delayed contract checks on demand. Static contract simplification attacks t...

متن کامل

TreatJS: Higher-Order Contracts for JavaScript

TreatJS is a language embedded, higher-order contract system for JavaScript which enforces contracts by run-time monitoring. Beyond providing the standard abstractions for building higher-order contracts (base, function, and object contracts), TreatJS’s novel contributions are its guarantee of non-interfering contract execution, its systematic approach to blame assignment, its support for contr...

متن کامل

TreatJS: Higher-Order Contracts for JavaScript (Artifact)

TreatJS is a language embedded, higher-order contract system for JavaScript which enforces contracts by run-time monitoring. Beyond providing the standard abstractions for building higher-order contracts (base, function, and object contracts), TreatJS’s novel contributions are its guarantee of non-interfering contract execution, its systematic approach to blame assignment, its support for contr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008